export default [
  {
    'name': 'list',
    'method': 'GET',
    'desc': '顾客来源列表',
    'path': '/api/v1/customer/customer/source',
    'server': 'CUSTOMER_SERVER',
  },
  {
    'name': 'addSource',
    'method': 'POST',
    'desc': '增加顾客渠道来源',
    'path': '/api/v1/customer/customer/source',
    'server': 'CUSTOMER_SERVER',
  },
  {
    'name': 'deleteSource',
    'method': 'DELETE',
    'desc': '单个删除顾客来源',
    'path': '/api/v1/customer/customer/source/{id}',
    'server': 'CUSTOMER_SERVER',
  },
  {
    'name': 'detailsSource',
    'method': 'GET',
    'desc': '根据id获取顾客来源',
    'path': '/api/v1/customer/customer/source/{id}',
    'server': 'CUSTOMER_SERVER',
  },
  {
    'name': 'eaditSource',
    'method': 'PUT',
    'desc': '修改顾客来源',
    'path': '/api/v1/customer/customer/source',
    'server': 'CUSTOMER_SERVER',
  },
  {
    'name': 'getBackstage',
    'method': 'GET',
    'desc': '获取后台数据', // 获取新增顾客来源时的后台数据
    'path': '/api/v1/customer/backstage/find/all',
    'server': 'CUSTOMER_SERVER',
  },
  {
    'name': 'addBackstage',
    'method': 'POST',
    'desc': '新增后台数据', // 增加新增顾客来源时的后台数据
    'path': '/api/v1/customer/backstage',
    'server': 'CUSTOMER_SERVER',
  },
];
